package com.dz.client.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author dz
 * @since 2022-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserProduct对象", description="")
public class UserProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer uid;

    private Integer pid;

    public UserProduct(Integer uid, Integer pid) {
        this.uid = uid;
        this.pid = pid;
    }
}
